package cn.iocoder.yudao.module.pay.controller.admin.collect.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 收款账户信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PayCollectInfoPageReqVO extends PageParam {

    @Schema(description = "收款方式：2-银行卡，3-微信，4-支付宝", example = "2")
    private Integer type;

    @Schema(description = "账号（银行卡号/微信支付宝账号）")
    private String accountNo;

    @Schema(description = "户名", example = "张三")
    private String accountName;

    @Schema(description = "银行地址")
    private String bankAddr;

    @Schema(description = "银行名称（仅银行卡类型时生效）", example = "赵六")
    private String bankName;

    @Schema(description = "收款码URL（仅微信/支付宝时生效）", example = "https://www.iocoder.cn")
    private String accountQrUrl;

    @Schema(description = "状态：0-待审核，1-已启用，2-已禁用", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}